<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsPatient" targetNamespace="http://tempuri.org/dsPatient.xsd" xmlns:mstns="http://tempuri.org/dsPatient.xsd" xmlns="http://tempuri.org/dsPatient.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
        </Connections>
        <Tables>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsPatient" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dsPatient" msprop:Generator_DataSetName="dsPatient">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Patient" msprop:Generator_UserTableName="Patient" msprop:Generator_RowDeletedName="PatientRowDeleted" msprop:Generator_RowChangedName="PatientRowChanged" msprop:Generator_RowClassName="PatientRow" msprop:Generator_RowChangingName="PatientRowChanging" msprop:Generator_RowEvArgName="PatientRowChangeEvent" msprop:Generator_RowEvHandlerName="PatientRowChangeEventHandler" msprop:Generator_TableClassName="PatientDataTable" msprop:Generator_TableVarName="tablePatient" msprop:Generator_RowDeletingName="PatientRowDeleting" msprop:Generator_TablePropName="Patient">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PatientID" msprop:Generator_UserColumnName="PatientID" msprop:Generator_ColumnVarNameInTable="columnPatientID" msprop:Generator_ColumnPropNameInRow="PatientID" msprop:Generator_ColumnPropNameInTable="PatientIDColumn" type="xs:string" minOccurs="0" />
              <xs:element name="PersonID" msprop:Generator_UserColumnName="PersonID" msprop:Generator_ColumnPropNameInRow="PersonID" msprop:Generator_ColumnVarNameInTable="columnPersonID" msprop:Generator_ColumnPropNameInTable="PersonIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="donorFlag" msprop:Generator_UserColumnName="donorFlag" msprop:Generator_ColumnVarNameInTable="columndonorFlag" msprop:Generator_ColumnPropNameInRow="donorFlag" msprop:Generator_ColumnPropNameInTable="donorFlagColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="AddressLine1" msprop:Generator_UserColumnName="AddressLine1" msprop:Generator_ColumnVarNameInTable="columnAddressLine1" msprop:Generator_ColumnPropNameInRow="AddressLine1" msprop:Generator_ColumnPropNameInTable="AddressLine1Column" type="xs:string" minOccurs="0" />
              <xs:element name="AddressLine2" msprop:Generator_UserColumnName="AddressLine2" msprop:Generator_ColumnVarNameInTable="columnAddressLine2" msprop:Generator_ColumnPropNameInRow="AddressLine2" msprop:Generator_ColumnPropNameInTable="AddressLine2Column" type="xs:string" minOccurs="0" />
              <xs:element name="AddressSuburb" msprop:Generator_UserColumnName="AddressSuburb" msprop:Generator_ColumnVarNameInTable="columnAddressSuburb" msprop:Generator_ColumnPropNameInRow="AddressSuburb" msprop:Generator_ColumnPropNameInTable="AddressSuburbColumn" type="xs:string" minOccurs="0" />
              <xs:element name="AddressTownCity" msprop:Generator_UserColumnName="AddressTownCity" msprop:Generator_ColumnVarNameInTable="columnAddressTownCity" msprop:Generator_ColumnPropNameInRow="AddressTownCity" msprop:Generator_ColumnPropNameInTable="AddressTownCityColumn" type="xs:string" minOccurs="0" />
              <xs:element name="AddressCountry" msprop:Generator_UserColumnName="AddressCountry" msprop:Generator_ColumnPropNameInRow="AddressCountry" msprop:Generator_ColumnVarNameInTable="columnAddressCountry" msprop:Generator_ColumnPropNameInTable="AddressCountryColumn" type="xs:string" minOccurs="0" />
              <xs:element name="AddressCode" msprop:Generator_UserColumnName="AddressCode" msprop:Generator_ColumnVarNameInTable="columnAddressCode" msprop:Generator_ColumnPropNameInRow="AddressCode" msprop:Generator_ColumnPropNameInTable="AddressCodeColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" type="xs:string" minOccurs="0" />
              <xs:element name="DateOfBirth" msprop:Generator_UserColumnName="DateOfBirth" msprop:Generator_ColumnVarNameInTable="columnDateOfBirth" msprop:Generator_ColumnPropNameInRow="DateOfBirth" msprop:Generator_ColumnPropNameInTable="DateOfBirthColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DateOfDeath" msprop:Generator_UserColumnName="DateOfDeath" msprop:Generator_ColumnVarNameInTable="columnDateOfDeath" msprop:Generator_ColumnPropNameInRow="DateOfDeath" msprop:Generator_ColumnPropNameInTable="DateOfDeathColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Names" msprop:Generator_UserTableName="Names" msprop:Generator_RowDeletedName="NamesRowDeleted" msprop:Generator_RowChangedName="NamesRowChanged" msprop:Generator_RowClassName="NamesRow" msprop:Generator_RowChangingName="NamesRowChanging" msprop:Generator_RowEvArgName="NamesRowChangeEvent" msprop:Generator_RowEvHandlerName="NamesRowChangeEventHandler" msprop:Generator_TableClassName="NamesDataTable" msprop:Generator_TableVarName="tableNames" msprop:Generator_RowDeletingName="NamesRowDeleting" msprop:Generator_TablePropName="Names">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PersonID" msprop:Generator_UserColumnName="PersonID" msprop:Generator_ColumnPropNameInRow="PersonID" msprop:Generator_ColumnVarNameInTable="columnPersonID" msprop:Generator_ColumnPropNameInTable="PersonIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn" type="xs:string" minOccurs="0" />
              <xs:element name="GivenName1" msprop:Generator_UserColumnName="GivenName1" msprop:Generator_ColumnPropNameInRow="GivenName1" msprop:Generator_ColumnVarNameInTable="columnGivenName1" msprop:Generator_ColumnPropNameInTable="GivenName1Column" type="xs:string" minOccurs="0" />
              <xs:element name="GivenName2" msprop:Generator_UserColumnName="GivenName2" msprop:Generator_ColumnPropNameInRow="GivenName2" msprop:Generator_ColumnVarNameInTable="columnGivenName2" msprop:Generator_ColumnPropNameInTable="GivenName2Column" type="xs:string" minOccurs="0" />
              <xs:element name="GivenName3" msprop:Generator_UserColumnName="GivenName3" msprop:Generator_ColumnPropNameInRow="GivenName3" msprop:Generator_ColumnVarNameInTable="columnGivenName3" msprop:Generator_ColumnPropNameInTable="GivenName3Column" type="xs:string" minOccurs="0" />
              <xs:element name="FamilyName" msprop:Generator_UserColumnName="FamilyName" msprop:Generator_ColumnPropNameInRow="FamilyName" msprop:Generator_ColumnVarNameInTable="columnFamilyName" msprop:Generator_ColumnPropNameInTable="FamilyNameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="PrimaryAliasIndicator" msprop:Generator_UserColumnName="PrimaryAliasIndicator" msprop:Generator_ColumnPropNameInRow="PrimaryAliasIndicator" msprop:Generator_ColumnVarNameInTable="columnPrimaryAliasIndicator" msprop:Generator_ColumnPropNameInTable="PrimaryAliasIndicatorColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="PreferredGivenNameIndex" msprop:Generator_UserColumnName="PreferredGivenNameIndex" msprop:Generator_ColumnPropNameInRow="PreferredGivenNameIndex" msprop:Generator_ColumnVarNameInTable="columnPreferredGivenNameIndex" msprop:Generator_ColumnPropNameInTable="PreferredGivenNameIndexColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Patient_Names" msdata:parent="Patient" msdata:child="Names" msdata:parentkey="PersonID" msdata:childkey="PersonID" msprop:Generator_UserRelationName="Patient_Names" msprop:Generator_RelationVarName="relationPatient_Names" msprop:Generator_UserChildTable="Names" msprop:Generator_UserParentTable="Patient" msprop:Generator_ParentPropName="PatientRow" msprop:Generator_ChildPropName="GetNamesRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>